home *** CD-ROM | disk | FTP | other *** search
- gMaxZoomWidth=max(
- zstring_width(zstring: '$$$avFixedZoom'),
- zstring_width(zstring: '$$$avFitView'),
- zstring_width(zstring: '$$$avFitPage'),
- zstring_width(zstring: '$$$avFitHeight'),
- zstring_width(zstring: '$$$avFitWidth'),
- zstring_width(zstring: '$$$avFitVisible'),
- zstring_width(zstring: '$$$avInheritZoom'));
-
- gLabelAll = max(
- zstring_width(zstring: '$$$/Dialogs/GotoView/Zoom'),
- zstring_width(zstring: '$$$/Dialogs/GotoView/Page'),
- zstring_width(zstring: '$$$/Dialogs/GotoView/DestinationName'));
-
- gPageWidth = (max_digit_width() * 8);
-
- dialog(name: '$$$/Dialogs/GotoView/Title', first_tab: 'expl')
- {
- view(align_children: align_left)
- {
- cluster(item_id: 'cls2', name: '$$$/Dialogs/GotoView/Options', align_children: align_left, alignment: align_fill)
- {
- radio(item_id: 'expl', name: '$$$/Dialogs/GotoView/Explicit', next_tab: 'rNam');
- group()
- {
- view(align_children: align_row)
- {
- gap(width: max_char_width() * 2);
- static_text(item_id: 'lPag', name: '$$$/Dialogs/GotoView/Page', alignment: align_right, width: gLabelAll);
- edit_text(item_id: 'page', width: max_char_width() * 8, next_tab: 'zoom');
- static_text(item_id: 'sPgs', name: '$$$/Dialogs/CreateLink/NumOfPages', width: max_char_width()*8);
- }
- view(align_children: align_row)
- {
- gap(width: max_char_width() * 2);
- static_text(item_id: 'lZoo', name: '$$$/Dialogs/GotoView/Zoom', alignment: align_right, width: gLabelAll);
- popup(item_id: 'zoom', width: gMaxZoomWidth, next_tab: 'bNam');
- }
- }
- radio(item_id: 'rNam', name: '$$$/Dialogs/GotoView/Named', next_tab: 'page');
- view(align_children: align_row)
- {
- gap(width: max_char_width() * 2);
- static_text(item_id: 'lNam', name: '$$$/Dialogs/GotoView/DestinationName', alignment: align_right, width: gLabelAll);
- static_text(item_id: 'sNam', name: '$$$/Dialogs/GotoView/DestNotSpecified', width: max_char_width() * 12);
- button(item_id: 'bNam', name: '$$$/Dialogs/GotoView/ChooseName');
- }
- }
- ok_cancel();
- }
- }
-